Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  



~Bella Opponelyings 19.Dec.03 10:18 PM a Web browser
Domino Designer 6.5 All Platforms


I am trying to write an operation that does the following:

1. export dxl from a database
2. convert dxl to dom
3. loop through nodes, and change nodeValue depending on nodeName
4. import dxl to a database (preferably an existing one).

I realize there are some other steps that are involved in doing the above. I realize that I must:

create a string from the stream of dxl generated from the exporter to create the domparser object.

this stream must be formatted in the correct characterset.

when this stream is fed into the domparser, i must rebuild and output the dxl, node by node, as I am looping through it.

<this is where I am having trouble.. i simply don't know how to format the output so that it will be properly formatted dxl in the end>

so.. I tried to serialize the domparser output, but this, no matter what i do, gives me a file much larger than the original dxl i put in. i have tried a number of charactersets, ASCII & UTF-8. it also fails on the import with an error msg stating that there is a missing "="

Does anyone have any advice for me??
Thanks.
T

i will paste my code in a response to this doc.






DomParser AND serialize (~Bella Opponely... 19.Dec.03)
. . RE: DomParser AND serialize (~Bella Opponely... 19.Dec.03)
. . dxl -> dom -> serialize() -> dxl (~Bella Opponely... 19.Dec.03)
. . RE: DomParser AND serialize (~Kirk Elreterod... 20.Dec.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS